package com.etc.service.impl;

import com.etc.dao.ParkDao;
import com.etc.entity.Park;
import com.etc.service.ParkService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ParkServiceImpl implements ParkService {
    @Resource
    private ParkDao parkDao;

    @Override
    public int delBatch(List<Integer> ids) {
        return parkDao.delBatch(ids);
    }

    @Override
    public Park findById(Integer id) {
        return parkDao.findById(id);
    }

}
